{__NOLAYOUT__}


<title>出错了</title>

<div class="layui-fluid">
    <div class="layadmin-tips">


        <i class="layui-icon" face>&#xe664;</i>

        <div class="layui-text" style="font-size: 20px;">
            <?php echo(strip_tags($message));?>
            页面自动 <a id="{$id_md5}" onclick="goJump()">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
        </div>


    </div>
</div>

<script>

    layui.define(['form', 'upload'], function(exports){
        var $ = layui.$
            ,element = layui.element
            ,interval = ''
            ,admin = layui.admin;

        window.goJump = function (obj) {

            clearInterval(interval);
            admin.events.closeThisTabs();
            location.hash = admin.correctRouter("<?php echo($url);?>");
        }
        var wait = document.getElementById('wait');
        interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                goJump();
            };
        }, 1000);

    });
</script>
